<div class="user-form">
<% form_for @word_comment, :url => word_word_comments_path do |f| %>
  <%= f.error_messages %>
<table class="user-table" cellpadding="5" align="center">
<span class="user-header">为单词添加新注解</span>
<tr>
	<td><b>单词:</b></td>
	<td><%=h @word.word %></td>
</tr>
<tr>
	<td><b>解释:</b></td>
	<td><%=h @word.explanation %></td>
</tr>
<tr>
	<td><label for="description">新添注解:</label></td>
    <td><%= f.text_area :description, :size => "30x5" %></td>
</tr>
</tr>
<td></td><td align="right"><%= f.submit "Create" %></td>
</tr>
</table>
<% end %>

<%= link_to 'Back', word_word_comments_path %>